package edu.scau.divineplace.entity.vo;

import edu.scau.divineplace.entity.enums.ContentTypeEnum;
import edu.scau.divineplace.entity.enums.UserTypeEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * @Author: x1aolone
 * @Date: 2020/12/11 16:00
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@ApiModel("AccountVO")
public class AccountVO {

    @ApiModelProperty("id")
    private Long id;

    @ApiModelProperty("用户名")
    private String name;

    @ApiModelProperty("密码")
    private String password;

    @ApiModelProperty("头像")
    private String avatar;

    @ApiModelProperty("电话号码")
    private String telephone;

    @ApiModelProperty("用户类型")
    private UserTypeEnum type;

    @ApiModelProperty("创建时间")
    private LocalDateTime createTime;

}
